<div ng-include="'html/component/nav.html'" ng-controller="NavCtrl"></div>
<div class="report_query">
    <div ng-include="'html/component/report.html'" ng-controller="ReportIndexCtrl"></div>
    <div class="report_main report_cont rxph_cont">
            <ul class="tap_list">
                <li class="{{day_cur=='1'?'tap_btn curr':'tap_btn'}}" ng-click = 'tab_day_list();' ng-model="day_cur">
                    <!--当天-->{{language.TIPS_REPORT_CUR_DAY}}
                </li>
                <li class="{{week_cur=='1'?'tap_btn curr':'tap_btn'}}" ng-click = 'tab_week_list();' ng-model="week_cur">
                    <!--本周-->{{language.TIPS_REPORT_CUR_WEEK}}
                </li>
                <li class="{{month_cur=='1'?'tap_btn curr':'tap_btn'}}" ng-click = 'tab_month_list();' ng-model="month_cur">
                    <!--本月-->{{language.TIPS_REPORT_CUR_MONTH}}
                </li>
            </ul>
            <div class="date_search">
                <input type="date" ng-model="start_time" required/>
                <span>-</span>
                <input type="date" ng-model="end_time" required/>
                <span class="btn" ng-click ='btn_search();'><!--查询-->{{language.ACT_INQUIRE}}</span>
            </div>
        <div class="report_form">
            <div class="chart_left">
                <ul class="tap_list">
                    <li class="{{num_cur=='1'?'curr':''}}" ng-click = 'tab_num_list();' ng-model="num_cur">
                        <!--按销量-->{{language.TIPS_REPORT_CUR_NUM}}
                    </li>
                    <li class="{{money_cur=='1'?'curr':''}}"  ng-click = 'tab_money_list();' ng-model="money_cur" >
                        <!--按金额-->{{language.TIPS_REPORT_CUR_MONEY}}
                    </li>
                </ul>
                <div id="charts" style="height: 400px;"></div>
            </div>
            <!--added by lqx maowei on 20180119 图表隐藏-->
            <!--<div class="table_right">-->
            <div class="form_cont">
                <table class="form_cont" style="border-top:solid 1px #e4e4e4;">
                    <tr>
                        <th>No</th>
                        <th><!--商品编号-->{{language.TIPS_REPORT_GOODS_NUMBER}}</th>
                        <th><!--商品名称-->{{language.TIPS_REPORT_GOODS_NAME}}</th>
                        <th><!--销售量-->{{th_num_name}}</th>
                        <th><!--销售量占比-->{{th_pre_name}}</th>
                    </tr>
                    <tr ng-show ="money_cur == 1" ng-repeat="li in data_list track by $index"  >
                        <td>{{$index + 1}}</td>
                        <td>{{li.sku}}</td>
                        <td>{{li.goods}}</td>
                        <td>{{li.money}}</td>
                        <td>{{li.rate}}</td>
                    </tr>
                    <tr ng-show ="num_cur == 1" ng-repeat="li in data_list track by $index"  >
                        <td>{{$index + 1}}</td>
                        <td>{{li.sku}}</td>
                        <td>{{li.goods}}</td>
                        <td>{{li.num}}</td>
                        <td>{{li.rate}}</td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
</div>
<!--added by lqx maowei on 20180119 图表隐藏-->
<style>
    .chart_left{
        display: none;
    }
</style>